SetFileFlag is an XCMD allowing to change the value of the authorized Finder flags of a file.
SYNTAX
SetFileFlag <file path or name>,<flag name>[,<flag state>]
[,"DontResolveAlias"]
PARAMETERS
<file path or name> can be a single name or whole pathname. If just a single name is supplied, the file is assumed to be in the same folder than the current stack.
<flag name> must be one of the following string values (accepted System 7.0 values are enclosed in brackets) :
Free for non-commercial use. Use in commercial software subjected to prior acknowledgement and licensing from the author, reachable at the following network addresses: